<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>
<h1>单文件上传</h1>
<form action="upload.php" enctype="multipart/form-data" method="post">
    文件: <input name="userfile" type="file"><br>
    <input type="submit" value="提交文件上传">
</form>

<h2>多文件上传</h2>
<form action="uploads.php" enctype="multipart/form-data" method="post">
    文件: <input multiple name="fs[]" type="file"><br>
    <input type="submit" value="提交多文件文件上传">
</form>
</body>
</html>